-- GENERATED SPELL FOR [Huricanian] --


function spell0_14478(pUnit, Event) --@Chain Lightning,n/a--
pUnit:FullCastSpellOnTarget(15659,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14478', 3000, 1)
end

function Sorts_14478(pUnit, Event)
local choix_sorts_14478 = math.random(0, 0)
if choix_sorts_14478 == 0 then
pUnit:RegisterEvent('spell0_14478', 1, 1)
end
end

function mob14478_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14478', math.random(1500, 3000), 1)
end

function mob14478_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14478_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14478_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14478, 1, 'mob14478_Action')
RegisterUnitEvent(14478, 2, 'mob14478_Leave')
RegisterUnitEvent(14478, 3, 'mob14478_Kill')
RegisterUnitEvent(14478, 4, 'mob14478_Die')
